package com.aistar.pojo;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class ContestMessageExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public ContestMessageExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andContestMsgIdIsNull() {
            addCriterion("contest_msg_id is null");
            return (Criteria) this;
        }

        public Criteria andContestMsgIdIsNotNull() {
            addCriterion("contest_msg_id is not null");
            return (Criteria) this;
        }

        public Criteria andContestMsgIdEqualTo(Integer value) {
            addCriterion("contest_msg_id =", value, "contestMsgId");
            return (Criteria) this;
        }

        public Criteria andContestMsgIdNotEqualTo(Integer value) {
            addCriterion("contest_msg_id <>", value, "contestMsgId");
            return (Criteria) this;
        }

        public Criteria andContestMsgIdGreaterThan(Integer value) {
            addCriterion("contest_msg_id >", value, "contestMsgId");
            return (Criteria) this;
        }

        public Criteria andContestMsgIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("contest_msg_id >=", value, "contestMsgId");
            return (Criteria) this;
        }

        public Criteria andContestMsgIdLessThan(Integer value) {
            addCriterion("contest_msg_id <", value, "contestMsgId");
            return (Criteria) this;
        }

        public Criteria andContestMsgIdLessThanOrEqualTo(Integer value) {
            addCriterion("contest_msg_id <=", value, "contestMsgId");
            return (Criteria) this;
        }

        public Criteria andContestMsgIdIn(List<Integer> values) {
            addCriterion("contest_msg_id in", values, "contestMsgId");
            return (Criteria) this;
        }

        public Criteria andContestMsgIdNotIn(List<Integer> values) {
            addCriterion("contest_msg_id not in", values, "contestMsgId");
            return (Criteria) this;
        }

        public Criteria andContestMsgIdBetween(Integer value1, Integer value2) {
            addCriterion("contest_msg_id between", value1, value2, "contestMsgId");
            return (Criteria) this;
        }

        public Criteria andContestMsgIdNotBetween(Integer value1, Integer value2) {
            addCriterion("contest_msg_id not between", value1, value2, "contestMsgId");
            return (Criteria) this;
        }

        public Criteria andContestIdIsNull() {
            addCriterion("contest_id is null");
            return (Criteria) this;
        }

        public Criteria andContestIdIsNotNull() {
            addCriterion("contest_id is not null");
            return (Criteria) this;
        }

        public Criteria andContestIdEqualTo(Integer value) {
            addCriterion("contest_id =", value, "contestId");
            return (Criteria) this;
        }

        public Criteria andContestIdNotEqualTo(Integer value) {
            addCriterion("contest_id <>", value, "contestId");
            return (Criteria) this;
        }

        public Criteria andContestIdGreaterThan(Integer value) {
            addCriterion("contest_id >", value, "contestId");
            return (Criteria) this;
        }

        public Criteria andContestIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("contest_id >=", value, "contestId");
            return (Criteria) this;
        }

        public Criteria andContestIdLessThan(Integer value) {
            addCriterion("contest_id <", value, "contestId");
            return (Criteria) this;
        }

        public Criteria andContestIdLessThanOrEqualTo(Integer value) {
            addCriterion("contest_id <=", value, "contestId");
            return (Criteria) this;
        }

        public Criteria andContestIdIn(List<Integer> values) {
            addCriterion("contest_id in", values, "contestId");
            return (Criteria) this;
        }

        public Criteria andContestIdNotIn(List<Integer> values) {
            addCriterion("contest_id not in", values, "contestId");
            return (Criteria) this;
        }

        public Criteria andContestIdBetween(Integer value1, Integer value2) {
            addCriterion("contest_id between", value1, value2, "contestId");
            return (Criteria) this;
        }

        public Criteria andContestIdNotBetween(Integer value1, Integer value2) {
            addCriterion("contest_id not between", value1, value2, "contestId");
            return (Criteria) this;
        }

        public Criteria andCustomerIdIsNull() {
            addCriterion("customer_id is null");
            return (Criteria) this;
        }

        public Criteria andCustomerIdIsNotNull() {
            addCriterion("customer_id is not null");
            return (Criteria) this;
        }

        public Criteria andCustomerIdEqualTo(Integer value) {
            addCriterion("customer_id =", value, "customerId");
            return (Criteria) this;
        }

        public Criteria andCustomerIdNotEqualTo(Integer value) {
            addCriterion("customer_id <>", value, "customerId");
            return (Criteria) this;
        }

        public Criteria andCustomerIdGreaterThan(Integer value) {
            addCriterion("customer_id >", value, "customerId");
            return (Criteria) this;
        }

        public Criteria andCustomerIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("customer_id >=", value, "customerId");
            return (Criteria) this;
        }

        public Criteria andCustomerIdLessThan(Integer value) {
            addCriterion("customer_id <", value, "customerId");
            return (Criteria) this;
        }

        public Criteria andCustomerIdLessThanOrEqualTo(Integer value) {
            addCriterion("customer_id <=", value, "customerId");
            return (Criteria) this;
        }

        public Criteria andCustomerIdIn(List<Integer> values) {
            addCriterion("customer_id in", values, "customerId");
            return (Criteria) this;
        }

        public Criteria andCustomerIdNotIn(List<Integer> values) {
            addCriterion("customer_id not in", values, "customerId");
            return (Criteria) this;
        }

        public Criteria andCustomerIdBetween(Integer value1, Integer value2) {
            addCriterion("customer_id between", value1, value2, "customerId");
            return (Criteria) this;
        }

        public Criteria andCustomerIdNotBetween(Integer value1, Integer value2) {
            addCriterion("customer_id not between", value1, value2, "customerId");
            return (Criteria) this;
        }

        public Criteria andContestMsgMarkIsNull() {
            addCriterion("contest_msg_mark is null");
            return (Criteria) this;
        }

        public Criteria andContestMsgMarkIsNotNull() {
            addCriterion("contest_msg_mark is not null");
            return (Criteria) this;
        }

        public Criteria andContestMsgMarkEqualTo(Double value) {
            addCriterion("contest_msg_mark =", value, "contestMsgMark");
            return (Criteria) this;
        }

        public Criteria andContestMsgMarkNotEqualTo(Double value) {
            addCriterion("contest_msg_mark <>", value, "contestMsgMark");
            return (Criteria) this;
        }

        public Criteria andContestMsgMarkGreaterThan(Double value) {
            addCriterion("contest_msg_mark >", value, "contestMsgMark");
            return (Criteria) this;
        }

        public Criteria andContestMsgMarkGreaterThanOrEqualTo(Double value) {
            addCriterion("contest_msg_mark >=", value, "contestMsgMark");
            return (Criteria) this;
        }

        public Criteria andContestMsgMarkLessThan(Double value) {
            addCriterion("contest_msg_mark <", value, "contestMsgMark");
            return (Criteria) this;
        }

        public Criteria andContestMsgMarkLessThanOrEqualTo(Double value) {
            addCriterion("contest_msg_mark <=", value, "contestMsgMark");
            return (Criteria) this;
        }

        public Criteria andContestMsgMarkIn(List<Double> values) {
            addCriterion("contest_msg_mark in", values, "contestMsgMark");
            return (Criteria) this;
        }

        public Criteria andContestMsgMarkNotIn(List<Double> values) {
            addCriterion("contest_msg_mark not in", values, "contestMsgMark");
            return (Criteria) this;
        }

        public Criteria andContestMsgMarkBetween(Double value1, Double value2) {
            addCriterion("contest_msg_mark between", value1, value2, "contestMsgMark");
            return (Criteria) this;
        }

        public Criteria andContestMsgMarkNotBetween(Double value1, Double value2) {
            addCriterion("contest_msg_mark not between", value1, value2, "contestMsgMark");
            return (Criteria) this;
        }

        public Criteria andContestMsgStartTimeIsNull() {
            addCriterion("contest_msg_start_time is null");
            return (Criteria) this;
        }

        public Criteria andContestMsgStartTimeIsNotNull() {
            addCriterion("contest_msg_start_time is not null");
            return (Criteria) this;
        }

        public Criteria andContestMsgStartTimeEqualTo(Date value) {
            addCriterion("contest_msg_start_time =", value, "contestMsgStartTime");
            return (Criteria) this;
        }

        public Criteria andContestMsgStartTimeNotEqualTo(Date value) {
            addCriterion("contest_msg_start_time <>", value, "contestMsgStartTime");
            return (Criteria) this;
        }

        public Criteria andContestMsgStartTimeGreaterThan(Date value) {
            addCriterion("contest_msg_start_time >", value, "contestMsgStartTime");
            return (Criteria) this;
        }

        public Criteria andContestMsgStartTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("contest_msg_start_time >=", value, "contestMsgStartTime");
            return (Criteria) this;
        }

        public Criteria andContestMsgStartTimeLessThan(Date value) {
            addCriterion("contest_msg_start_time <", value, "contestMsgStartTime");
            return (Criteria) this;
        }

        public Criteria andContestMsgStartTimeLessThanOrEqualTo(Date value) {
            addCriterion("contest_msg_start_time <=", value, "contestMsgStartTime");
            return (Criteria) this;
        }

        public Criteria andContestMsgStartTimeIn(List<Date> values) {
            addCriterion("contest_msg_start_time in", values, "contestMsgStartTime");
            return (Criteria) this;
        }

        public Criteria andContestMsgStartTimeNotIn(List<Date> values) {
            addCriterion("contest_msg_start_time not in", values, "contestMsgStartTime");
            return (Criteria) this;
        }

        public Criteria andContestMsgStartTimeBetween(Date value1, Date value2) {
            addCriterion("contest_msg_start_time between", value1, value2, "contestMsgStartTime");
            return (Criteria) this;
        }

        public Criteria andContestMsgStartTimeNotBetween(Date value1, Date value2) {
            addCriterion("contest_msg_start_time not between", value1, value2, "contestMsgStartTime");
            return (Criteria) this;
        }

        public Criteria andContestMsgThroughTimeIsNull() {
            addCriterion("contest_msg_through_time is null");
            return (Criteria) this;
        }

        public Criteria andContestMsgThroughTimeIsNotNull() {
            addCriterion("contest_msg_through_time is not null");
            return (Criteria) this;
        }

        public Criteria andContestMsgThroughTimeEqualTo(Double value) {
            addCriterion("contest_msg_through_time =", value, "contestMsgThroughTime");
            return (Criteria) this;
        }

        public Criteria andContestMsgThroughTimeNotEqualTo(Double value) {
            addCriterion("contest_msg_through_time <>", value, "contestMsgThroughTime");
            return (Criteria) this;
        }

        public Criteria andContestMsgThroughTimeGreaterThan(Double value) {
            addCriterion("contest_msg_through_time >", value, "contestMsgThroughTime");
            return (Criteria) this;
        }

        public Criteria andContestMsgThroughTimeGreaterThanOrEqualTo(Double value) {
            addCriterion("contest_msg_through_time >=", value, "contestMsgThroughTime");
            return (Criteria) this;
        }

        public Criteria andContestMsgThroughTimeLessThan(Double value) {
            addCriterion("contest_msg_through_time <", value, "contestMsgThroughTime");
            return (Criteria) this;
        }

        public Criteria andContestMsgThroughTimeLessThanOrEqualTo(Double value) {
            addCriterion("contest_msg_through_time <=", value, "contestMsgThroughTime");
            return (Criteria) this;
        }

        public Criteria andContestMsgThroughTimeIn(List<Double> values) {
            addCriterion("contest_msg_through_time in", values, "contestMsgThroughTime");
            return (Criteria) this;
        }

        public Criteria andContestMsgThroughTimeNotIn(List<Double> values) {
            addCriterion("contest_msg_through_time not in", values, "contestMsgThroughTime");
            return (Criteria) this;
        }

        public Criteria andContestMsgThroughTimeBetween(Double value1, Double value2) {
            addCriterion("contest_msg_through_time between", value1, value2, "contestMsgThroughTime");
            return (Criteria) this;
        }

        public Criteria andContestMsgThroughTimeNotBetween(Double value1, Double value2) {
            addCriterion("contest_msg_through_time not between", value1, value2, "contestMsgThroughTime");
            return (Criteria) this;
        }

        public Criteria andContestMsgRankIsNull() {
            addCriterion("contest_msg_rank is null");
            return (Criteria) this;
        }

        public Criteria andContestMsgRankIsNotNull() {
            addCriterion("contest_msg_rank is not null");
            return (Criteria) this;
        }

        public Criteria andContestMsgRankEqualTo(Integer value) {
            addCriterion("contest_msg_rank =", value, "contestMsgRank");
            return (Criteria) this;
        }

        public Criteria andContestMsgRankNotEqualTo(Integer value) {
            addCriterion("contest_msg_rank <>", value, "contestMsgRank");
            return (Criteria) this;
        }

        public Criteria andContestMsgRankGreaterThan(Integer value) {
            addCriterion("contest_msg_rank >", value, "contestMsgRank");
            return (Criteria) this;
        }

        public Criteria andContestMsgRankGreaterThanOrEqualTo(Integer value) {
            addCriterion("contest_msg_rank >=", value, "contestMsgRank");
            return (Criteria) this;
        }

        public Criteria andContestMsgRankLessThan(Integer value) {
            addCriterion("contest_msg_rank <", value, "contestMsgRank");
            return (Criteria) this;
        }

        public Criteria andContestMsgRankLessThanOrEqualTo(Integer value) {
            addCriterion("contest_msg_rank <=", value, "contestMsgRank");
            return (Criteria) this;
        }

        public Criteria andContestMsgRankIn(List<Integer> values) {
            addCriterion("contest_msg_rank in", values, "contestMsgRank");
            return (Criteria) this;
        }

        public Criteria andContestMsgRankNotIn(List<Integer> values) {
            addCriterion("contest_msg_rank not in", values, "contestMsgRank");
            return (Criteria) this;
        }

        public Criteria andContestMsgRankBetween(Integer value1, Integer value2) {
            addCriterion("contest_msg_rank between", value1, value2, "contestMsgRank");
            return (Criteria) this;
        }

        public Criteria andContestMsgRankNotBetween(Integer value1, Integer value2) {
            addCriterion("contest_msg_rank not between", value1, value2, "contestMsgRank");
            return (Criteria) this;
        }

        public Criteria andApplyStatusIsNull() {
            addCriterion("apply_status is null");
            return (Criteria) this;
        }

        public Criteria andApplyStatusIsNotNull() {
            addCriterion("apply_status is not null");
            return (Criteria) this;
        }

        public Criteria andApplyStatusEqualTo(Integer value) {
            addCriterion("apply_status =", value, "applyStatus");
            return (Criteria) this;
        }

        public Criteria andApplyStatusNotEqualTo(Integer value) {
            addCriterion("apply_status <>", value, "applyStatus");
            return (Criteria) this;
        }

        public Criteria andApplyStatusGreaterThan(Integer value) {
            addCriterion("apply_status >", value, "applyStatus");
            return (Criteria) this;
        }

        public Criteria andApplyStatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("apply_status >=", value, "applyStatus");
            return (Criteria) this;
        }

        public Criteria andApplyStatusLessThan(Integer value) {
            addCriterion("apply_status <", value, "applyStatus");
            return (Criteria) this;
        }

        public Criteria andApplyStatusLessThanOrEqualTo(Integer value) {
            addCriterion("apply_status <=", value, "applyStatus");
            return (Criteria) this;
        }

        public Criteria andApplyStatusIn(List<Integer> values) {
            addCriterion("apply_status in", values, "applyStatus");
            return (Criteria) this;
        }

        public Criteria andApplyStatusNotIn(List<Integer> values) {
            addCriterion("apply_status not in", values, "applyStatus");
            return (Criteria) this;
        }

        public Criteria andApplyStatusBetween(Integer value1, Integer value2) {
            addCriterion("apply_status between", value1, value2, "applyStatus");
            return (Criteria) this;
        }

        public Criteria andApplyStatusNotBetween(Integer value1, Integer value2) {
            addCriterion("apply_status not between", value1, value2, "applyStatus");
            return (Criteria) this;
        }

        public Criteria andStatusIsNull() {
            addCriterion("status is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("status is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(Integer value) {
            addCriterion("status =", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualTo(Integer value) {
            addCriterion("status <>", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThan(Integer value) {
            addCriterion("status >", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("status >=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThan(Integer value) {
            addCriterion("status <", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualTo(Integer value) {
            addCriterion("status <=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusIn(List<Integer> values) {
            addCriterion("status in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotIn(List<Integer> values) {
            addCriterion("status not in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusBetween(Integer value1, Integer value2) {
            addCriterion("status between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotBetween(Integer value1, Integer value2) {
            addCriterion("status not between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andOther1IsNull() {
            addCriterion("other1 is null");
            return (Criteria) this;
        }

        public Criteria andOther1IsNotNull() {
            addCriterion("other1 is not null");
            return (Criteria) this;
        }

        public Criteria andOther1EqualTo(String value) {
            addCriterion("other1 =", value, "other1");
            return (Criteria) this;
        }

        public Criteria andOther1NotEqualTo(String value) {
            addCriterion("other1 <>", value, "other1");
            return (Criteria) this;
        }

        public Criteria andOther1GreaterThan(String value) {
            addCriterion("other1 >", value, "other1");
            return (Criteria) this;
        }

        public Criteria andOther1GreaterThanOrEqualTo(String value) {
            addCriterion("other1 >=", value, "other1");
            return (Criteria) this;
        }

        public Criteria andOther1LessThan(String value) {
            addCriterion("other1 <", value, "other1");
            return (Criteria) this;
        }

        public Criteria andOther1LessThanOrEqualTo(String value) {
            addCriterion("other1 <=", value, "other1");
            return (Criteria) this;
        }

        public Criteria andOther1Like(String value) {
            addCriterion("other1 like", value, "other1");
            return (Criteria) this;
        }

        public Criteria andOther1NotLike(String value) {
            addCriterion("other1 not like", value, "other1");
            return (Criteria) this;
        }

        public Criteria andOther1In(List<String> values) {
            addCriterion("other1 in", values, "other1");
            return (Criteria) this;
        }

        public Criteria andOther1NotIn(List<String> values) {
            addCriterion("other1 not in", values, "other1");
            return (Criteria) this;
        }

        public Criteria andOther1Between(String value1, String value2) {
            addCriterion("other1 between", value1, value2, "other1");
            return (Criteria) this;
        }

        public Criteria andOther1NotBetween(String value1, String value2) {
            addCriterion("other1 not between", value1, value2, "other1");
            return (Criteria) this;
        }

        public Criteria andOther2IsNull() {
            addCriterion("other2 is null");
            return (Criteria) this;
        }

        public Criteria andOther2IsNotNull() {
            addCriterion("other2 is not null");
            return (Criteria) this;
        }

        public Criteria andOther2EqualTo(String value) {
            addCriterion("other2 =", value, "other2");
            return (Criteria) this;
        }

        public Criteria andOther2NotEqualTo(String value) {
            addCriterion("other2 <>", value, "other2");
            return (Criteria) this;
        }

        public Criteria andOther2GreaterThan(String value) {
            addCriterion("other2 >", value, "other2");
            return (Criteria) this;
        }

        public Criteria andOther2GreaterThanOrEqualTo(String value) {
            addCriterion("other2 >=", value, "other2");
            return (Criteria) this;
        }

        public Criteria andOther2LessThan(String value) {
            addCriterion("other2 <", value, "other2");
            return (Criteria) this;
        }

        public Criteria andOther2LessThanOrEqualTo(String value) {
            addCriterion("other2 <=", value, "other2");
            return (Criteria) this;
        }

        public Criteria andOther2Like(String value) {
            addCriterion("other2 like", value, "other2");
            return (Criteria) this;
        }

        public Criteria andOther2NotLike(String value) {
            addCriterion("other2 not like", value, "other2");
            return (Criteria) this;
        }

        public Criteria andOther2In(List<String> values) {
            addCriterion("other2 in", values, "other2");
            return (Criteria) this;
        }

        public Criteria andOther2NotIn(List<String> values) {
            addCriterion("other2 not in", values, "other2");
            return (Criteria) this;
        }

        public Criteria andOther2Between(String value1, String value2) {
            addCriterion("other2 between", value1, value2, "other2");
            return (Criteria) this;
        }

        public Criteria andOther2NotBetween(String value1, String value2) {
            addCriterion("other2 not between", value1, value2, "other2");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}